package structural.bridge;

/**
 * @ClassName: Square
 * @Description: 正方形
 * @Author: liu-hao
 * @Date: 2023-04-11 16:47
 * @Version: 1.0
 **/
public class Square extends Shape {
    public Square(Color color) {
        super(color);
    }

    @Override
    public void draw() {
        System.out.print("Square drawn. ");
        color.fill();
    }
}
